<template>
  <div id="app">

    <div class="OffDutyLayout">
      <div class="FunctionalArea">
        <el-row class="firstelrow" :gutter="20">
          <el-col :span="8">
            <div>
              <el-form label-width="100px">
                <el-form-item label="线路编号：">
                  <el-input placeholder="请输入线路编号" />
                </el-form-item>
                <el-form-item label="线路名称：">
                  <el-input placeholder="请选择线路名称" />
                </el-form-item>

              </el-form>

            </div>
          </el-col>
          <el-col :span="8"><div>
            <el-form label-width="100px">
              <el-form-item label="起始机构:">
                <el-select placeholder="请选择起始机构" />
              </el-form-item>
              <el-form-item width="200">
                <el-button type="primary" size="samll">搜索</el-button>
                <el-button size="samll">重置</el-button>
              </el-form-item>
            </el-form>
          </div>
          </el-col>
          <el-col :span="8"><div>
            <el-form label-width="100px">
              <el-form-item label="目的地机构：">
                <el-select placeholder="请选择目的地机构" />
              </el-form-item>
            </el-form>
          </div></el-col>
        </el-row>
        <div class="LineListLargeBox">
          <div class="AddLineButton">
            <el-button type="primary">新增线路</el-button>
            <el-button type="primary">成本设置</el-button>
            <div class="eltab">
              <template>
                <el-table
                  height="100%"
                  stripe
                  :data="tableData"
                  style="width: 100%"
                  max-height="1600"
                >
                  <el-table-column fixed type="expand" />
                  <el-table-column

                    prop="date"
                    label="线路编号"
                  />
                  <el-table-column
                    prop="name"
                    label="线路名称"
                  />
                  <el-table-column
                    prop="province"
                    label="线路类型"
                  />
                  <el-table-column
                    prop="city"
                    label="起始地机构"
                    width="200"
                  />
                  <el-table-column
                    prop="address"
                    label="目的地机构"
                    width="200"
                  />
                  <el-table-column
                    prop="zip"
                    label="距离(千米)"
                  />
                  <el-table-column
                    prop="zip"
                    label="成本(元)"
                  />
                  <el-table-column
                    prop="zip"
                    label="预计时间(分钟)"
                  />
                  <el-table-column
                    prop="zip"
                    label="操作"
                    width="180"
                  >
                    <el-button type="text" style="color: rgb(81, 163, 229); font-size: 14px;">修改</el-button>
                    <span class="VerticalBar">|</span>
                    <el-button type="text" style="color:  #f56c6c;; font-size: 14px;">删除</el-button>
                    <span class="VerticalBar">|</span>
                    <el-button type="text" style="color: rgb(81, 163, 229); font-size: 14px;">添加车次</el-button>
                  </el-table-column>

                </el-table>
              </template>
            </div>
          </div>
          <div class="BottomPaging">
            <el-pagination
              :current-page="currentPage4"
              :page-sizes="[100, 200, 300, 400]"
              :page-size="100"
              layout="total, sizes, prev, pager, next, jumper"
              :total="400"
              @size-change="handleSizeChange"
              @current-change="handleCurrentChange"
            />
          </div>
        </div>

      </div>
    </div>
  </div>
  <!-- app-end -->
</template>

<script>
export default {
  components: {},
  data() {
    return {
      yourValue: '测试',
      tableData: [{
        date: '2016-05-03',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-02',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-04',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-01',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-08',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-06',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }, {
        date: '2016-05-07',
        name: '王小虎',
        province: '上海',
        city: '普陀区',
        address: '上海市普陀区金沙江路 1518 弄',
        zip: 200333
      }]

    }
  },
  methods: {

  }
}
</script>

<style scoped lang="scss">

.OffDutyLayout{
  padding: 20px;
.FunctionalArea{

.firstelrow{
padding-top: 20px;
border-radius: 8px;
background-color: #fff;
}
.LineListLargeBox{
  margin: 0 -10px;
  border-radius: 8px;
  margin-top: 20px;
  height: 744px;
  background-color: #fff;
  padding: 25px;
  .eltab{
    border: 1px solid rgba(177, 176, 176, 0.322);
    margin-top: 20px;
.VerticalBar{
margin:0 7px;
color:  rgba(177, 176, 176, 0.322);;
}
  }
  .BottomPaging{
    display: flex;
    justify-content: center;
   margin-top: 20px;
  }
}
}
}
</style>
